package com.liu.voluntary.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liu.voluntary.pojo.User;
import com.liu.voluntary.vo.RespBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserService extends IService<User> {

    RespBean login(String mobile, String password, HttpServletRequest request, HttpServletResponse response);


    RespBean register(String mobile, String password, HttpServletRequest request, HttpServletResponse response);


     User getUserInRedis(String userTicket, HttpServletRequest request, HttpServletResponse response);

}

